package com.web.exiaodao.business.service;

import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.web.exiaodao.business.entity.FanliRules;
import com.web.exiaodao.remote.vo.FanliRulesVo;
import com.web.webstart.base.exception.BusinessException;
import com.web.webstart.base.service.BaseServiceInterFace;
import com.web.webstart.base.util.result.XaResult;

public interface FanliRulesService extends BaseServiceInterFace<FanliRules>{
	
	//根据ID查询返利合约
	public XaResult<FanliRulesVo> findFanliRulesById(Long modelId) throws BusinessException;
	//查询返利合约列表
	public XaResult<Page<FanliRulesVo>> findFanliRulesList(Integer status, Map<String,Object> filterParams, Pageable pageable) throws BusinessException;
	
}
